package com.heer.gymnasium.module.my.adapters;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import java.util.List;

/**
 * Created by yan on 2018/1/22.
 */

public class MyCardAdapter extends BaseAdapter {

    private List<Object> data;

    private Context context;

    public MyCardAdapter(List<Object> data, Context context) {
        this.data = data;
        this.context = context;
    }

    @Override
    public int getCount() {
        return data == null ? 0 : data.size();
    }

    @Override
    public Object getItem(int i) {
        return data.get(i);
    }

    @Override
    public long getItemId(int i) {
        return i;
    }

    @Override
    public View getView(int i, View view, ViewGroup viewGroup) {
        return null;
    }

    private static class RechargeViewHolder {

    }

    private static class CardViewHolder {

    }
}
